package cn.shiwei;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
// 开启eureka支持
@EnableEurekaClient
// 开启feign支持(默认扫描当前包及其子包中有@feignclient注解的接口, 进行动态代理)
@EnableFeignClients(basePackages = {"cn.shiwei.feignclient"})
public class EurekaPayApplication1040 {

    public static void main(String[] args) {
        SpringApplication.run(EurekaPayApplication1040.class);
    }
}
